ioemu: Send logs to stderr and have xend redirect stderr to the
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 28 Feb 2008 10:29:25 +0000 (10:29 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 28 Feb 2008 10:29:25 +0000 (10:29 +0000)
commit6a69bb45edca5b2491cdf23fa9f8328aee9a365c
treecd61a3f89136d57dafbe8ffa00833e793b227fe5
parente8fcc3571a0938a542ddf7ebc5155da490dc6613
ioemu: Send logs to stderr and have xend redirect stderr to the
correct log file.

At the same time, this patch renames the logfile to be
'qemu-dm-{NAME}.log' instead of qemu-dm-{ID}.log.  This makes it
easier to track/find the QEMU logfile associated with a VM. It will
also save 1 backup qemu-dm-{NAME}.log.1 so if a domain crashes &
restart, you don't loose/overwrite the logfile immediately.

Finally it changes the QEMU monitor prompt back to '(qemu)' instead of
'(HVMXen)' because automated tools /scripts interacting with QEMU's
monitor need a consistent prompt to look for & changing it for Xen
serves no useful purpose.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
tools/ioemu/keymaps.c
tools/ioemu/monitor.c
tools/ioemu/vl.c
tools/python/xen/xend/image.py